import { Router } from 'vue-router'
import { createPageLoadingGuard } from './page-loading-guard.ts'
import { createPageTitleGuard } from '@/router/guards/page-title-guard.ts'
import { createPermissionGuard } from '@/router/guards/permission-guard.ts'

export function setupRouterGuards(router: Router): void {
  createPageLoadingGuard(router)
  createPageTitleGuard(router)
  createPermissionGuard(router)
}
